package com.woniuxy.commons.exception.code;

public enum StoreExceptionCode {
    STORE_CHECK_PASSED_OR_BACK(1001,"商家审批已经处理"),
    STORE_HAD_PASSED(1002,"您已经成功认证了"),
    STORE_CHECK_ING(1003,"您的认证还在审批中"),
    STORE_CANT_REGISTER(1004,"您未上传营业执照或者餐饮许可证"),
    STORE_CANT_REGISTER_INFO(1005,"请完善信息"),
    STORE_HAS_ACTIVE(1006,"商家已经激活了"),
    STORE_HAS_FROZEN(1006,"商家已经冻结了")

    ;

    private Integer code;
    private String message;

    StoreExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
